home *** CD-ROM | disk | FTP | other *** search
- Path: yama.mcc.ac.uk!dmu!usenet
- From: Timothy Eves <se1te@dmu.ac.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: File sizes
- Date: Thu, 22 Feb 1996 17:58:37 +0000
- Organization: De Montfort Univerity
- Message-ID: <312CAECD.52F9@dmu.ac.uk>
- References: <4gd9pu$cpr@mn5.swip.net> <WXQ7y*5+f@yaps.rhein.de>
- NNTP-Posting-Host: birch.cms.dmu.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/720)
-
- This might not be the best way but an alternative is too open the file,
- do a seek to the begining and then to end and the value returned from
- the second seek will be the length of the file.
-
- Note: You might not need the first seek, but I can't remember wether
- the file pointer returned by seek is relative or absolute.
-
- --
- ------------------------------------------------------------O----------------
- Out of the gloom came a voice, "Smile and be happy things| EMail To:
- could be worse", it said. So I smiled and I was happy,|
- se1te@dmu.ac.uk
- and behold things did get worse. |
- ------------------------------------------------------------O----------------
-